package com.tanhua.server.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum NameEnum implements IEnum<Integer> {

    NAME_1(1, "初级灵魂题"),
    NAME_2(2, "中级灵魂题"),
    NAME_3(3, "高级级灵魂题");

    private final Integer value;
    private final String desc;


    NameEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }


    public String getDesc() {
        return desc;
    }
}
